<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.w3.org/1999/xhtml">
<head th:replace="/layout :: htmlhead" th:with="title='后台管理'">
</head>
<body>

<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-md12">
            <div class="layui-form-item" lay-filter="searchForm">
                <form class="layui-form" method="post">
                    <label class="layui-form-label">终端IP</label>
                    <div class="layui-input-inline">
                        <input id="terminalidSearch" class="layui-input" type="text"/>
                    </div>
                    <label class="layui-form-label">状态</label>
                    <div class="layui-input-inline">
                        <select id="islockedSearch">
                            <option value="">请选择</option>
                            <option value="0">正常</option>
                            <option value="1">锁定</option>
                        </select>
                    </div>
                </form>
                <div class="layui-input-inline">
                    <button type="reset" class="layui-btn layui-btn-primary">重置</button>
                    <button class="layui-btn" lay-submit="" lay-filter="searchSubmit">查询</button>
                </div>
            </div>
            <div class="layui-card">
                <div class="layui-card-body">
                    <table class="layui-hide" id="table" lay-filter="table"></table>
                    <script type="text/html" id="islocked">
                        {{#  if(d.islocked == 0){ }}
                        未锁定
                        {{#  } else { }}
                        已锁定
                        {{#  } }}
                    </script>
                    <script type="text/html" id="table-title">
                        <h2><b>终端列表</b></h2>
                    </script>
                    <script type="text/html" id="table-toolbar">
                        <a class="layui-btn layui-btn-warm layui-btn-xs" lay-event="unlock"
                           shiro:hasPermission="terminal:unlock">解锁</a>
                    </script>
                </div>
            </div>
        </div>
    </div>
</div>

<script th:src="@{/js/systemManager/terminal.js}"></script>
</body>
</html>